<?php $this->beginWidget('CHtmlPurifier'); ?>
<?php if(!$sended){echo 'No sended messages.'; }?>
<?php foreach($sended as $newmsg): ?>
<p><img src="/mrejata/images/msg.png" style="margin-bottom:-10px;"/>&nbsp;&nbsp;&nbsp;<b><? echo CHtml::link($newmsg->subject,array('msg/read','id'=>$newmsg->id,'sid'=>md5($newmsg->subject))); ?></b> - до <?php echo CHtml::link($newmsg->recever->username,array('site/user','id'=>$newmsg->recever->id)); ?><br/></p>


<?php endforeach; ?>
<?php $this->endWidget(); ?>
